<?php
/*
* @Created by Phpstorm
* @User: Zhangxinlei
* @Date: 
* @Time:
*/

namespace app\common\model;


use think\Model;
use think\model\concern\SoftDelete;
class AdminPermission extends Model
{
    use SoftDelete;
    // 子权限
    public function child()
    {
        return $this->hasMany('AdminPermission','pid','id');
    }
}